package com.lagou.edu.context;

import java.io.Serializable;

/**
 * bean 对象
 *
 * @author bwcx_jzy
 * @since 2021/10/22
 */
public class BeanData implements Serializable {

    /**
     * 原始对象（委托对象）
     */
    private final Object object;

    /**
     * 代理对象
     */
    private final Object proxyObject;

    public BeanData(Object object, Object proxyObject) {
        this.object = object;
        this.proxyObject = proxyObject;
    }

    public Object getObject() {
        return object;
    }

    public Object getProxyObject() {
        return proxyObject;
    }
}
